package com.bnlr.lrparking.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hp on 2017/9/5.
 */

public class StallListM {


    private String msgcode;
    private String msg;
    private List<DataBean> data;
    private String recordCount;
    private int errorCode;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(String recordCount) {
        this.recordCount = recordCount;
    }

    public void setMsgcode(String msgcode) {
        this.msgcode = msgcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public String getMsgcode() {
        return msgcode;
    }

    public String getMsg() {
        return msg;
    }

    public List<DataBean> getData() {
            return data;
    }

    public static class DataBean implements Serializable{
        /**
         *  "id": "10135",
         "parkid": "3148",
         "number": "CW189",
         "type": "卡车",
         "area": "15",
         "address": "千玺广场",
         "parktime": "08：00"
         */

        private String id;
        private String parkid;
        private String number;
        private String type;
        private String area;
        private String address;
        private String parktime;
        private String status;
        private String sellingprice;
        private String phone;
        private String description;
        private String parkphoto;

        public String getParkphoto() {
            return parkphoto;
        }

        public void setParkphoto(String parkphoto) {
            this.parkphoto = parkphoto;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getParkid() {
            return parkid;
        }

        public void setParkid(String parkid) {
            this.parkid = parkid;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getParktime() {
            return parktime;
        }

        public void setParktime(String parktime) {
            this.parktime = parktime;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSellingprice() {
            return sellingprice;
        }

        public void setSellingprice(String sellingprice) {
            this.sellingprice = sellingprice;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", parkid='" + parkid + '\'' +
                    ", number='" + number + '\'' +
                    ", type='" + type + '\'' +
                    ", area='" + area + '\'' +
                    ", address='" + address + '\'' +
                    ", parktime='" + parktime + '\'' +
                    ", status='" + status + '\'' +
                    ", sellingprice='" + sellingprice + '\'' +
                    ", phone='" + phone + '\'' +
                    ", description='" + description + '\'' +
                    ", parkphoto='" + parkphoto + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "StallListM{" +
                "msgcode='" + msgcode + '\'' +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
